<template slot-scope="scope">
    <div>
        <!-- 添加二级路由出口 -->
        <router-view></router-view>
        <!-- route是否开启路由模式 -->
        <van-tabbar route>
            <van-tabbar-item icon="comment" to="/article">面经</van-tabbar-item>
            <van-tabbar-item icon="star-o" to="/collect">收藏</van-tabbar-item>
            <van-tabbar-item icon="like-o" to="/like">点赞</van-tabbar-item>
            <van-tabbar-item icon="user-o" to="/user">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>